package cn.cs.yangtai.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Schema(name = "购物车")
@AllArgsConstructor
@NoArgsConstructor
public class ShoppingVo {
    /**
     * 购物车id
     */
    @Schema(description = "购物车id",required = true)
    private Integer sId;
    /**
     * 用户id
     */
    @Schema(description = "用户id",required = true)
    private Integer sUserid;
    /**
     * 用户名
     */
    private String username;
    /**
     * 商品类型
     */
    private String fType;
    /**
     * 商品名称
     */
    @Schema(description = "商品名称",required = true)
    private String sCName;
    /**
     * 购买的商品数量
     */
    @Schema(description = "商品数量",required = true)
    private Integer sQuantity;
    /**
     * 商品单价
     */
    @Schema(description = "商品单价",required = true)
    private Double sPrice;
    /**
     * 备选属性1
     */
    private String sBei;
    /**
     * 备选属性2
     */
    private String sXuan;

}
